//
//  HSYLoginRequest.m
//  HSY
//
//  Created by 陈浩 on 2017/4/5.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYLoginRequest.h"

@implementation HSYLoginRequest

- (NSString *)serviceCode{
    return API_SERVICE_CODE_LOGIN;
}

- (NSDictionary *)requestData{
    NSAssert(self.cellphone.length > 0, @"手机号不能为空");
    NSAssert(self.password.length > 0, @"密码不能为空");
    
    NSMutableDictionary *params = [@{} mutableCopy];
    params[@"cellphone"] = self.cellphone;
    params[@"password"] = self.password;

    return [params copy];
}

@end
